// THEME 1
if (theme == 1) {
    var sliderOptions =
	    {
		sliderId: sliderSG,
		effect: "series1",
		effectRandom: false,
		pauseTime: 2600,
		transitionTime: 500,
		slices: 12,
		boxes: 8,
		hoverPause: 1,
		autoAdvance: true,
		captionOpacity: 0.3,
		captionEffect: "none",
		thumbnailsWrapperId: "thumbs",
		m: false,
		license: "b2e98"
	    };
}

// THEME 2
else if (theme == 2) {
    var sliderOptions =
	    {
		sliderId: sliderSG,
		effect: "1,4,5,6,7,8,9,12,13,14,15,17",
		effectRandom: true,
		pauseTime: 2600,
		transitionTime: 500,
		slices: 11,
		boxes: 7,
		hoverPause: 2,
		autoAdvance: true,
		captionOpacity: 0.6,
		captionEffect: "none",
		thumbnailsWrapperId: "thumbs",
		m: false,
		license: "b2e98"
	    };
}

// THEME 3
else if (theme == 3) {
    var sliderOptions =
	    {
		sliderId: sliderSG,
		effect: "1,7,11,2",
		effectRandom: false,
		pauseTime: 2600,
		transitionTime: 500,
		slices: 14,
		boxes: 9,
		hoverPause: 2,
		autoAdvance: true,
		captionOpacity: 0.6,
		captionEffect: "none",
		thumbnailsWrapperId: "thumbs",
		m: false,
		license: "b2e98"
	    };
}

// THEME 4
else if (theme == 4) {
    var sliderOptions =
	    {
		sliderId: sliderSG,
		effect: "6,15,1,2,11,12,13,15,16,5,7",
		effectRandom: false,
		pauseTime: 2600,
		transitionTime: 500,
		slices: 14,
		boxes: 11,
		hoverPause: 2,
		autoAdvance: true,
		captionOpacity: 0.5,
		captionEffect: "none",
		thumbnailsWrapperId: "thumbs",
		m: true,
		license: "b2e98"
	    };
}

// THEME 5
else if (theme == 5) {
    var sliderOptions =
	    {
		sliderId: sliderSG,
		effect: "13,17,13,13,5",
		effectRandom: true,
		pauseTime: 2600,
		transitionTime: 500,
		slices: 12,
		boxes: 9,
		hoverPause: 1,
		autoAdvance: true,
		captionOpacity: 1,
		captionEffect: "none",
		thumbnailsWrapperId: "thumbs",
		m: false,
		license: "b2e98"
	    };
}

// THEME 6
else {
    var sliderOptions =
	    {
		sliderId: sliderSG,
		effect: "series1",
		effectRandom: false,
		pauseTime: 2500,
		transitionTime: 500,
		slices: 14,
		boxes: 8,
		hoverPause: 1,
		autoAdvance: true,
		captionOpacity: 0.0,
		captionEffect: "none",
		thumbnailsWrapperId: "thumbs",
		m: false,
		license: "b2e98"
	    };
}